package com.nxj.dao;

import com.nxj.pojo.User;

import java.util.List;

public interface UserDao {

    List<User> findAll() throws Exception;

    User findByCondition(User user) throws Exception;

    boolean insertOneObject(User user) throws Exception;

    int updateByCondition(User user) throws Exception;

    boolean deleteByCondition(User user) throws Exception;

}
